import 'normalize.css/normalize.css';
import 'element-ui/lib/theme-chalk/index.css';
import locale from 'element-ui/lib/locale/lang/zh-CN';
import '@/styles/index.scss';
import '@/styles/common.less';

import Vue from 'vue';
import store from './store';
import router from './router';
import ElementUI from 'element-ui';
import App from './App';
import '@/icons';// svg 雪碧图
import '@/permission';// 权限控制
import plugins from '@/mixin';
import SlideVerify from 'vue-monoplasty-slide-verify';// 滑块验证

Vue.use(SlideVerify);
Vue.use(ElementUI);
Vue.use(plugins);

Vue.config.productionTip = false;
const Base64 = require('js-base64').Base64;// this.$options 添加了一个 Base64 方法

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App),
  Base64
});
